Fluent Assertions Documentation
FluentAssertions.Equivalency Namespace / SelfReferenceEquivalencyOptions.Restriction<TSelf,TMember> Class / When Method
A predicate based on the IMemberInfo of the subject that is used to identify the property for which the override applies.
In This Topic
    When Method
    In This Topic
    Allows overriding the way structural equality is applied to particular members.
    Syntax

    Parameters

    predicate
    A predicate based on the IMemberInfo of the subject that is used to identify the property for which the override applies.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also